﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Yqd.Models
{
    public class Yqd_UnitLeader
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        [DisplayName("一级目录")]
        [StringLength(500)]
        public string TaskPath { get; set; }

        [DisplayName("领导")]
        [StringLength(50)]
        public string Leader { get; set; }

        [DisplayName("年份")]
        public int Year { get; set; }

        public int Tactic { get; set; }

        public string Unit { get; set; } = "";
        public bool IsShow { get; set; }
    }
}
